OD=DISABLE_, INV=INPUT_NOT_INVERTED_, SLEW=STANDARD, MODE=INACTIVE_NO_PULL_DO, FUNC=P1_20, HYS=DISABLE_
I/O configuration register for pin P1[20]
FUNC | Selects pin function for pin P1[20] 0 (P1_20): General purpose digital input/output pin. 1 (USB_TX_DP1): D+ transmit data for USB port 1 (OTG transceiver). 2 (PWM1_2): Pulse Width Modulator 1, channel 2 output. 3 (QEI_PHA): Quadrature Encoder Interface PHA input. 4 (MC_FB0): Motor control PWM channel 0 feedback input. 5 (SSP0_SCK): Serial clock for SSP0. 6 (LCD_VD_6): LCD data. 7 (LCD_VD_10): LCD data. |
MODE | Selects function mode (on-chip pull-up/pull-down resistor control). 0 (INACTIVE_NO_PULL_DO): Inactive (no pull-down/pull-up resistor enabled). 1 (PULL_DOWN_RESISTOR_E): Pull-down resistor enabled. 2 (PULL_UP_RESISTOR_ENA): Pull-up resistor enabled. 3 (REPEATER_MODE_): Repeater mode. |
HYS | Hysteresis. 0 (DISABLE_): Disable. 1 (ENABLE_): Enable. |
INV | Invert input 0 (INPUT_NOT_INVERTED_): Input not inverted (HIGH on pin reads as 1, LOW on pin reads as 0). 1 (INPUT_INVERTED_HIGH): Input inverted (HIGH on pin reads as 0, LOW on pin reads as 1). |
RESERVED | Reserved. |
SLEW | Driver slew rate 0 (STANDARD): Standard mode, output slew rate control is enabled. More outputs can be switched simultaneously. 1 (FAST): Fast mode, slew rate control is disabled. Refer to the appropriate specific device data sheet for details. |
OD | Open-drain mode. 0 (DISABLE_): Disable. 1 (OPEN_DRAIN_MODE_ENAB): Open-drain mode enabled. This is not a true open-drain mode. Input cannot be pulled up above VDD. |
RESERVED | Reserved. |